POV-Ray : Newsgroups : povray.general : Spline problem : Re: Spline problem Server Time
7 Aug 2024 03:23:01 EDT (-0400)
  Re: Spline problem  
From: Warp
Date: 19 Jan 2002 18:49:12
Message: <3c4a05f7@news.povray.org>
Christopher James Huff <chr### [at] maccom> wrote:
:>   If a future version makes commas mandatory, that would be a huge step
:> *backwards* in versatility.

: How?

  Because it would disallow making automatic generation of long lists of
items (number, vectors...) in such a simple and versatile way as currently.
  Currently it's just enough to create the list of items in a loop, without
having to take into account that there should be one comma less than the
number of items.
  (Note that the problem with the solution you suggested is that there might
be cases where the loop is not executed even once, that is, no items are
created at all.)

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.